﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace com.IronOne.BoardAppWeb.Models.Service
{
    public class UpdateServiceOneModel
    {
        public List<addDocsModel> Docs { get; set; }
        public List<int> RemovedMeetingIDs { get; set; }
        public List<int> RemovedPaperIDs { get; set; }
        public string UserName { get; set; }
    }

    public class addDocsModel
    {
        public int DocID { get; set; }
        public string Name { get; set; }
        public string PaperRefNo { get; set; }
        public string Description { get; set; }
        public byte DocType { get; set; }
        public string FilePath { get; set; }
        public int MeetingID { get; set; }
        public string CategoryName { get; set; }
        public DateTime MeetingDate { get; set; }
        public byte DecisionStatus { get; set; }
        public bool OpenNotification { get; set; }
        public bool UpdateNotification { get; set; }

        public override string ToString()
        {
            return " " + this.DocID + " " + this.Name + " " + this.PaperRefNo + " "
                + this.Description + " " + this.DocType + " " + this.FilePath + " " + this.MeetingID
                    + " " + this.CategoryName + " " + this.MeetingDate + " " + this.DecisionStatus + " " + this.OpenNotification + " " + this.UpdateNotification;
        }
    }

    public class addMeetingsModel   //Not needed at the moment.
    {
        public int MeetingID { get; set; }
        public int CategoryID { get; set; }
        public string CategoryName { get; set; }
        public string Subject { get; set; }
        public string Description { get; set; }
        public DateTime MeetingDate { get; set; }
        public byte MeetingStatus { get; set; }
        public byte Type { get; set; }

        public override string ToString()
        {
            return " " + this.MeetingID + " " + this.CategoryID + " " + this.CategoryName + " "
                + this.Subject + " " + this.Description + " " + this.MeetingDate + " " + this.MeetingStatus
                    + " " + this.Type ;
        }
    }
}